package br.uefs.dexa.rfframework.runner;

import br.uefs.dexa.rfframework.gui.factory.GUIAbstractFactory;
import br.uefs.dexa.rfframework.gui.interfaces.RFUserGUI;
import br.uefs.dexa.rfframework.strategies.lire.TestLireRFEngine;

public class AppRunner {
	
	RFUserGUI gui;
	
	public void startGUI()
	{
		gui = getGUI();
	}

	public void run()
	{
		TestLireRFEngine rf = new TestLireRFEngine();
		rf.run();
	}
	
	private RFUserGUI getGUI() 
	{
		return GUIAbstractFactory.getInstance().getGUI();
	}
	
	public static void main(String[] args) 
	{
		AppRunner runner = new AppRunner();
		runner.startGUI();
		
		runner.run();
	}
}
